<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type"content="text/html; charset=UTF-8">
<title>Liên Hệ</title>
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<jsp:include page="admin-header.jsp" />
<div class="admin-table">
            <h2>Tin Nhắn</h2>		
	<table class="table-bordered">
	<thead>
	<tr>
            <th>Họ tên</th>
            <th>Email</th>
            <th>Điện thoại</th>
            <th>Nội dung</th>
            <th>Trạng thái</th>
	</tr>
	</thead>
            <tbody style="border: 1px solid #333;">
                <c:forEach items="${list}" var="list" >
                    <tr style="border: 1px solid #333;">
                        <td>${list.hoten}</td>
                        <td>${list.email}</td>
                        <td>${list.dienthoai}</td>
                        <td>${list.noidung}</td>
                        <td>${list.trangthai}</td>
                    </tr>
                </c:forEach>
            </tbody>
     	</table>
</body>
</html>